/* Global Styles */
:root {
    --primary-color: #2e8b57;
    --secondary-color: #3a5f0b;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 56px;
    scroll-behavior: smooth;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.section-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: var(--primary-color);
    margin: 1.5rem auto;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('/api/placeholder/1920/1080') no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* About Section */
#about {
    padding: 5rem 0;
}

#about .lead {
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
}
/* Trail Section Styles */
#trails {
    padding: 60px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.divider {
    max-width: 100px;
    margin: 15px auto;
    border-width: 2px;
    border-color: #343a40;
}

/* Trail Card Color Schemes */
.easy-trail-card {
    background-color: #f8d7da; /* Red background for Easy */
    border-color: #f5c6cb;
    transition: transform 0.3s ease;
}

.moderate-trail-card {
    background-color: #fff3cd; /* Yellow/orange background for Moderate */
    border-color: #ffeeba;
    transition: transform 0.3s ease;
}

.difficult-trail-card {
    background-color: #d1ecf1; /* Blue background for Difficult */
    border-color: #bee5eb;
    transition: transform 0.3s ease;
}

/* Card Hover Effects */
.easy-trail-card:hover,
.moderate-trail-card:hover,
.difficult-trail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Trail Animation Styling */
.trail-animation {
    height: 6px;
    margin: 10px 0 15px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.trail-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: trail-pulse 2s infinite;
}

.easy-trail {
    background-color: #dc3545; /* Red for Easy trail */
    width: 40%;
}

.moderate-trail {
    background-color: #ffc107; /* Yellow/orange for Moderate trail */
    width: 65%;
}

.difficult-trail {
    background-color: #17a2b8; /* Blue for Difficult trail */
    width: 90%;
}

/* Animation Keyframes */
@keyframes trail-pulse {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Icon Styling */
.fa-mountain {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #343a40;
}

/* Card Body Styling */
.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .col-lg-8 {
        margin-bottom: 30px;
    }
}
/* Analysis Section Styling */
#analysis {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 30px;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: #343a40;
    margin: 15px auto;
}

.analysis-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analysis-content h4 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 20px;
}

.image-container {
    margin: 0 auto;
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* Hazards Section */
.hazard-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.hazard-item:hover {
    transform: translateY(-5px);
}

.hazard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hazard-item h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Mitigation Strategies */
.strategy-list {
    padding-left: 1.5rem;
}

.strategy-list li {
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    margin-top: 1rem;
    font-weight: 600;
}

/* Contact Section */
#contact {
    background-color: var(--dark-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

/* Modal */
.modal-header {
    background-color: var(--primary-color);
    color: white;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}